study was conducted by national evolutionary synthesis centre , durham .
it suggests that societies with less access to food and water are more likely to believe in all-powerful , moralistic deities .
research also uncovered link between a belief in high gods who enforce a moral code and a strong social hierarchy .